//
//  GreetTextCell.m
//  ExtModule
//
//  Created by CPX on 2018/9/11.
//  Copyright © 2018年 CPX. All rights reserved.
//

#import "GreetTextCell.h"
#import "GreetCardModel.h"

/**
 贺卡文本Cell
 */
@implementation GreetTextCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.cornerView.layer.cornerRadius = 4;
    self.cornerView.layer.masksToBounds = YES;
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setModel:(GreetTextModel *)model{
    _model = model;
    self.titleLabel.text  =  model.clifford_original;
    self.desLabel.text = model.clifford_text;
    [self.bigImage sd_setImageWithURL:[NSURL URLWithString:model.img_thumbnail] placeholderImage:[UIImage imageNamed:@"place_holder100x100"]];
}

@end
